#include "patch.h"

int initPatchUIGamePad()
{
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad4initEv"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad6UpdateEP12SDL_Renderer"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad7SetModeEi"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad17CheckStateReleaseEiii"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad6MotionEiii"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePadC2Ev"), (uintptr_t)&ret0);
    hook_addr(so_symbol(&so_mod, "_ZN9UIGamePad5CloseEv"), (uintptr_t)&ret0);

    return 0;
}